//---------------------------------------------------------------------------

#ifndef circuloH
#define circuloH
#include "poligono.h"
#include "lista.h"
#include "pv.h"
#include <gl\gl.h>
#include <gl\glu.h>
#define NITERC 20
#include <fstream.h>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class Circulo:public Poligono{
           public: GLdouble radio;
                  PV * centro;

                  Circulo(){centro = new PV(); vertices=new Lista<PV>();};
                  Circulo(PV* c, GLdouble r);
                  ~Circulo(){delete centro;
                             delete this->vertices;};
                  void draw();
                  bool colision(PV* centro,PV * s,GLdouble radio, GLdouble &tin, PV *&normal);
                  int getRebotereciente(int i){return rebotereciente[i];};
                  void setRebotereciente(int r, int i){rebotereciente[i] = r;};


};



#endif
